package com.situ.fly.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Question {

	private Integer id;
	private String title;
	private String content;
	private Integer type;
	private Integer kiss;
	private Integer uid;
	private Integer viewsnum;
	private Integer replynum;
	
	
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createtime;
	
	private Integer level;
	private Integer status;
	
	// 关联对象
	private User user;
}
